﻿using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using Simp.CodeModel;

namespace Simp.GraphModel
{
	/// <summary>Represents a function that can emit UI element.</summary>
	public interface IElementProducerFunction : IFunction
	{
		/// <summary>Tries to produce a UI element.</summary>
		/// <param name="parameters"></param>
		/// <returns>The <see cref="UIElement"/> if the function was able to be converted, <c>null</c> if it didn't.</returns>
		UIElement Produce(params IFunction[] parameters);
	}
}